package com.zhentao.controller;

import com.zhentao.domain.SysElectricCard;
import com.zhentao.domain.vo.Result;
import com.zhentao.service.SysElectricCardService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: SysElectricCardController
 * @Desrciption: Mr.chengfenzhan
 * @Author: 知安_程烽展
 * @Date: 2024/8/25 20:06
 */
@RequestMapping("syselectriccard")
@RestController
@Tag(name = "电卡管理")
public class SysElectricCardController {
    @Autowired
    private SysElectricCardService service;
    @GetMapping("/all")
    @Operation(summary = "获取所有电卡")
    public Result getAll()
    {
        return service.getAll();
    }
}
